package charts; 
import charts.series.Element;
import charts.series.bars.Bar;
import string.Utils;

// NOTE: it's necessary to explicitly state the class, in case nameclashes occur
class Bar extends BarBase<StyleStruct, charts.series.bars.Bar> { 
	public function new( json:Dynamic, group:Float ) {
		super(json, group);
	}
	
	//
	// called from the base object
	//
	override function get_element( index:Float, value:Dynamic ): charts.series.bars.Bar {
		return new charts.series.bars.Bar( index, this.get_element_helper( value ), this.group );
	}
}
